<?php

namespace Keio\StudyBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Packagebaihoc
 */
class Packagebaihoc
{
    /**
     * @var integer
     */
    private $id;

    /**
     * @var \Keio\StudyBundle\Entity\Baihoc
     */
    private $baihoc;

    /**
     * @var \Keio\StudyBundle\Entity\Package
     */
    private $package;


    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set baihoc
     *
     * @param \Keio\StudyBundle\Entity\Baihoc $baihoc
     * @return Packagebaihoc
     */
    public function setBaihoc(\Keio\StudyBundle\Entity\Baihoc $baihoc = null)
    {
        $this->baihoc = $baihoc;
    
        return $this;
    }

    /**
     * Get baihoc
     *
     * @return \Keio\StudyBundle\Entity\Baihoc 
     */
    public function getBaihoc()
    {
        return $this->baihoc;
    }

    /**
     * Set package
     *
     * @param \Keio\StudyBundle\Entity\Package $package
     * @return Packagebaihoc
     */
    public function setPackage(\Keio\StudyBundle\Entity\Package $package = null)
    {
        $this->package = $package;
    
        return $this;
    }

    /**
     * Get package
     *
     * @return \Keio\StudyBundle\Entity\Package 
     */
    public function getPackage()
    {
        return $this->package;
    }
}